package com.mini.spring.beanfactory.support;

import com.mini.spring.beanfactory.factory.BeanDefinition;
import com.mini.spring.BeansException;

import java.lang.reflect.Constructor;

/**
 * @author: 屠一乐
 * @date: 2023/8/22 10:47
 * @description:
 */
public interface InstantiationStrategy {

    Object instantiate(BeanDefinition beanDefinition, String beanName, Constructor ctor, Object[] args) throws BeansException;

}
